﻿using Microsoft.EntityFrameworkCore;
using QuickGet.EntityFrameworkCore.Models;

namespace QuickGet.EntityFrameworkCore
{
    public class AppDbContext : DbContext
    {
        public AppDbContext(DbContextOptions options) : base(options) { }

        public DbSet<PackageVersionEntity> PackageVersions => Set<PackageVersionEntity>();
        public DbSet<PackageSourceEntity> PackageSources => Set<PackageSourceEntity>();
        public DbSet<PackageEntity> Packages => Set<PackageEntity>();
    }
}
